<input type="Hidden" id="tabs_filter" value="<*filter*>">
{for source=tabs}
	{if $active}
		<div class="active color"><*title*></div><div class="activeround"></div>
		{if $GLOBALS["was_active"]=1} {/if}
	{else}
		{if !$GLOBALS["was_active"]}
			{if !$GLOBALS["was_notactive"]}
				<div class="inactiveroundleft"></div><div class="inactiveleft"><a href="<*url*>" <*ajax*>><*title*></a></div>
				{if $GLOBALS["was_notactive"]=1} {/if}
			{else}
				<div class="inactiveroundleft2"></div><div class="inactiveleft"><a href="<*url*>" <*ajax*>><*title*></a></div>
			{/if}
		{/if}
		{if $GLOBALS["was_active"]==2}
			<div id="shift" class="inactive"><a href="<*url*>" <*ajax*>><*title*></a></div><div class="inactiveround"></div>
		{/if}
		{if $GLOBALS["was_active"]==1}
			<div class="inactive"><a href="<*url*>" <*ajax*>><*title*></a></div><div class="inactiveround"></div>
			{if $GLOBALS["was_active"]=2} {/if}
		{/if}		
	{/if}
{/for}
